package com.hthy.futures.ui.activity;

import android.support.v4.app.FragmentTransaction;

import com.hthy.futures.R;
import com.hthy.futures.base.BaseActivity;
import com.hthy.futures.ui.fragment.NoticeContentFragment;
import com.hthy.futures.view.TitleView;

import butterknife.Bind;

/**
 * Created by SAM on 2017/4/11.
 */

public class NoticeContentActivity extends BaseActivity{
    @Bind(R.id.titleview)
    TitleView mTitleview;
    @Override
    protected int getContentView() {
        return R.layout.activity_slide_cotainer;
    }

    @Override
    protected void initWidget() {
        super.initWidget();
        mTitleview.setBackBtn();
        mTitleview.setTitle("公告内容");
        FragmentTransaction fragmentTransaction = getSupportFragmentManager().beginTransaction();
        NoticeContentFragment noticeContentFragment = new NoticeContentFragment();
        fragmentTransaction.add(R.id.fl_container, noticeContentFragment);
        fragmentTransaction.commit();
    }

}
